home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1997 May
/
EnigmA AMIGA RUN 18 (1997)(G.R. Edizioni)(IT)[!][issue 1997-05][EAR-CD II].iso
/
softwareupdate
/
system
/
arexx_for_beginners
/
articles_01-10
/
example7-1a.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1994-12-14
|
449b
|
31 lines
/* Example7-1a.rexx */
/* This is Example7-1 rewritten with the use of a Function */
CALL Display
Name1 = Fred Bloggs
Name2 = 'Fred Bloggs'
Value1 = 2.35
Value2 = Value1 + 2.2
CALL Display
Name1 = 2.35
Name2 = Name1 + 2.2
Value1 = Fred Bloggs
Value2 = 'Fred Bloggs'
CALL Display
EXIT
Display:
SAY
SAY 'Name1 is ' Name1
SAY 'Name2 is ' Name2
SAY 'Value1 is ' Value1
SAY 'Value2 is ' Value2
RETURN